<template>
  <div>
    <select-show :showStyle="showStyle" placeholder="请选择用户" :disabled="false" v-model:orgList="defaultValue" type="user"
      :multiple="true"></select-show>
  </div>
</template>

<script setup lang="ts">
import { computed, defineExpose } from "vue";
import selectShow from "../../../../orgselect/selectAndShow.vue";
import { useUserStore } from "../../../../../stores/user";

let props = defineProps({
  id: {
    type: String,
    default: "",
  }
  ,
  valueConfig: {
    type: Object,
    dafault: () => { }
  },
  showStyle: {
    type: Number,
    default: 1
  }
});

var defaultValue = computed({
  get: () => {
    let value = props.valueConfig.value;
    return value ? value : [];
  },
  set: (s: any[]) => {
    props.valueConfig.value = s
  },
});
</script>

<style scoped lang="less"></style>